package com.hxl.linuxfilemanager.controller;

import com.hxl.linuxfilemanager.entity.R;
import com.hxl.linuxfilemanager.service.impl.ShareServiceImpl;
import com.hxl.linuxfilemanager.util.ResponseUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 文件分享
 */
@RestController
@RequestMapping("api/share")
public class ShareController {
    @Autowired
    ShareServiceImpl shareService;


    @PostMapping
    public R createShareLink(@RequestParam("path")String path){
        return ResponseUtils.suceess("成功","");
    }
}
